<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.js"></script>
</head>

<body class="container">
    <h3 align="center">垂直布局按钮组</h3>
    <div class="btn-group-vertical">
        <button type="button" class="btn btn-primary">家用电器</button>
        <button type="button" class="btn btn-primary">电脑数码</button>
        <button type="button" class="btn btn-warning">男装女装</button>
        <!--添加下拉菜单-->
        <div class="dropdown dropend">
            <button type="button" class="btn btn-info dropdown-toggle" data-bs-toggle="dropdown">
                珠宝箱包
            </button>
            <div class="dropdown-menu">
                <a class="dropdown-item" href="#">黄金饰品</a>
                <a class="dropdown-item" href="#">珠宝饰品</a>
                <a class="dropdown-item" href="#">旅行箱包</a>
                <a class="dropdown-item" href="#">潮流女包</a>
            </div>
        </div>
        <button type="button" class="btn btn-warning">水果特产</button>
    </div>
</body>

</html>

</html>